package com.czxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czxy.rbac.SysPermission;

import java.util.List;
import java.util.Set;

public interface SysPermissionService extends IService<SysPermission> {

    public List<SysPermission> findAll();

    public Set<SysPermission> findPermByUserIdAndParentId(Integer userId);

}